import Vue from 'vue'
import VueRouter from 'vue-router'



Vue.use(VueRouter)

const routes = [
    { path: '/', component: () => import('../views/Home.vue') },
    { path: '/goods', component: () => import('../views/goods/goods.vue') },
    { path: '/main', component: () => import('../views/main.vue') },

    { path: '/pay', component: () => import('../views/pay.vue') },
    { path: '/promotion', component: () => import('../views/promotion.vue') },

    { path: '/shop', component: () => import('../views/shop.vue') },
]

const router = new VueRouter({
    routes
})

export default router
